]> dgit.raspbian.org Git - gnome-shell.git/commit
cleanup: Don't use substring to check prefix
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 5 Mar 2024 19:37:15 +0000 (20:37 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 19 Apr 2024 17:38:37 +0000 (17:38 +0000)
commit193b6c129e7b86aa03cf7488d6e79b58ad2a2d3b
treeddcd587bcc16ddd33c6c420bc8cc4ab44f7f90cc
parent05861583893c60e7fa38d4abb161e523aac883cb
cleanup: Don't use substring to check prefix

String.prototype.startsWith() is more idiomatic in that case.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3234>
js/ui/notificationDaemon.js